import request from '@/utils/request'

const reviewApi = {
  get_list: 'frontend/review_definition/get_list',
  get_table: 'frontend/review_definition/get_experts_list',
  send_list: 'frontend/review_definition/create_score'
}
export function getlist (parameter) {
  return request({
    url: reviewApi.get_list,
    method: 'post',
    data: parameter,
    headers: {
      'Content-Type': 'application/formdata;charset=UTF-8'
    }
  })
}
export function getTable (parameter) {
  return request({
    url: reviewApi.get_table,
    method: 'post',
    data: parameter,
    headers: {
      'Content-Type': 'application/formdata;charset=UTF-8'
    }
  })
}
export function sendList (parameter) {
  return request({
    url: reviewApi.send_list,
    method: 'post',
    data: parameter,
    headers: {
      'Content-Type': 'application/formdata;charset=UTF-8'
    }
  })
}
